package com.link.base.base.trackdisplay.service;
/**
 * @author: 秦学刚
 * @date: 2018-11-27
 * @comments:
 */

import javax.annotation.Resource;

import com.link.base.base.trackdisplay.dao.mybatis.mapper.ReturnServiceMapper;
import org.springframework.stereotype.Service;
import com.link.base.base.trackdisplay.dao.mybatis.mapper.TrackDisplayMapper;
import com.link.base.base.trackdisplay.model.TrackDisplay;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

import java.util.Map;

@Service
public class TrackDisplayServiceImpl extends BasicServiceImpl<TrackDisplay> implements TrackDisplayService {

    @Resource
    private TrackDisplayMapper trackDisplayMapper;

    @Resource
    private ReturnServiceMapper returnServiceMapper;

    @Override
    public BasicMapper<TrackDisplay> getBasicMapper() {
        return trackDisplayMapper;
    }

    @Override
    public Map<String, Object> returnService(TrackDisplay entity) throws Exception {
        return returnServiceMapper.returnService(entity);
    }
}

